﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FireMessageEventArgs.cs" company="">
//   
// </copyright>
// <summary>
//   The fire message event args.
// </summary>
// --------------------------------------------------------------------------------------------------------------------


using System;

namespace Systemathics.FrameWork
{
    [Serializable]
    public sealed class FireMessageEventArgs : EventArgs
    {
        private object m_message;
        private TimeSpan m_time;

        public FireMessageEventArgs(object message, TimeSpan time)
        {
            m_message = message;
            m_time = time;
        }
         
        public object Message
        {
            get { return m_message; }
            set { m_message = value; }
        }
        public TimeSpan Time
        {
            get { return m_time; }
            set { m_time = value; }
        }
    }
}